/*
 * Copyright(c) 2018 优居科技 All rights reserved.
 * distributed with this file and available online at
 * http://www.yjyz.com/
 */
package com.zb.api.business.dto;

import lombok.Data;
import io.swagger.annotations.ApiModelProperty;


import java.io.Serializable;
import java.util.List;

/**
* 方案评论表
 *
 * @author cwp
 * @version v1.0
 * @CreationTime: - 2022-02-08 14:19:31
 * @Description:
 */
@Data
public class PosPlanCommentDto implements Serializable {

    /** 主键 */
    
    @ApiModelProperty(value = "主键", notes = "")
    private Integer id;
    /** 方案id */
    @ApiModelProperty(value = "方案id", notes = "@NotNull ")
    private Integer planId;
    private String planName;
    /** 评论目标id */
    @ApiModelProperty(value = "评论目标id", notes = "@NotNull ")
    private Integer targetId;
    private String targetName;
    /** 商家id */
    @ApiModelProperty(value = "商家id", notes = "@NotNull ")
    private Integer merchantId;
    private String merchantName;
    /** 是否匿名0否1是 */
    @ApiModelProperty(value = "是否匿名0否1是", notes = "@NotNull @Max(127)")
    private Integer commentType;
    /** 评论内容 */

    @ApiModelProperty(value = "评论内容", notes = "@NotBlank @Length(max=1024)")
    private String commentContent;
    /** 评论人 */
    @ApiModelProperty(value = "评论人", notes = "@NotNull ")
    private Integer userId;
    /** 评论人名称 */
    @ApiModelProperty(value = "评论人名称", notes = "@NotBlank @Length(max=52)")
    private String userName;
    /** 评论人电话 */
    @ApiModelProperty(value = "评论人电话", notes = "@Length(max=16)")
    private String userPhone;
    /** 创建时间 */
    
    @ApiModelProperty(value = "创建时间", notes = "")
    private Long createTm;
    // start-处理日期参数查询条件

    /** lastUpdateTm字符串类型 */
    private String lastUpdateTmStr;

    /** lastUpdateTm开始时间 */
    private String lastUpdateTmBegin;

    /** lastUpdateTm结束时间 */
    private String lastUpdateTmEnd;

    //1评论  2回复
    private Integer type;

    private List<PosPlanCommentDto> childrenList;
    // end-处理日期参数查询条件

    private Integer pageNo;
    private Integer pageSize;
    //1用户查询评论2商户查看评论3方案查看评论
    private Integer queryType;

}
